package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Dz12345Mapper;
import com.ruoyi.system.domain.Dz12345;
import com.ruoyi.system.service.IDz12345Service;
import com.ruoyi.common.core.text.Convert;

/**
 * 12345热线工单办理Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-08
 */
@Service
public class Dz12345ServiceImpl implements IDz12345Service 
{
    @Autowired
    private Dz12345Mapper dz12345Mapper;

    /**
     * 查询12345热线工单办理
     * 
     * @param dezhouGdid 12345热线工单办理主键
     * @return 12345热线工单办理
     */
    @Override
    public Dz12345 selectDz12345ByDezhouGdid(Long dezhouGdid)
    {
        return dz12345Mapper.selectDz12345ByDezhouGdid(dezhouGdid);
    }

    /**
     * 查询12345热线工单办理列表
     * 
     * @param dz12345 12345热线工单办理
     * @return 12345热线工单办理
     */
    @Override
    public List<Dz12345> selectDz12345List(Dz12345 dz12345)
    {
        return dz12345Mapper.selectDz12345List(dz12345);
    }

    /**
     * 新增12345热线工单办理
     * 
     * @param dz12345 12345热线工单办理
     * @return 结果
     */
    @Override
    public int insertDz12345(Dz12345 dz12345)
    {
        return dz12345Mapper.insertDz12345(dz12345);
    }

    /**
     * 修改12345热线工单办理
     * 
     * @param dz12345 12345热线工单办理
     * @return 结果
     */
    @Override
    public int updateDz12345(Dz12345 dz12345)
    {
        return dz12345Mapper.updateDz12345(dz12345);
    }

    /**
     * 批量删除12345热线工单办理
     * 
     * @param dezhouGdids 需要删除的12345热线工单办理主键
     * @return 结果
     */
    @Override
    public int deleteDz12345ByDezhouGdids(String dezhouGdids)
    {
        return dz12345Mapper.deleteDz12345ByDezhouGdids(Convert.toStrArray(dezhouGdids));
    }

    /**
     * 删除12345热线工单办理信息
     * 
     * @param dezhouGdid 12345热线工单办理主键
     * @return 结果
     */
    @Override
    public int deleteDz12345ByDezhouGdid(Long dezhouGdid)
    {
        return dz12345Mapper.deleteDz12345ByDezhouGdid(dezhouGdid);
    }
}
